<HTML>
<BODY>
<PRE>
<!-- Manpage converted by man2html 3.0.1 -->

<B><A HREF="BCMP.html">BCMP(3)</A></B> 	       FreeBSD Library Functions Manual 	       <B><A HREF="BCMP.html">BCMP(3)</A></B>


</PRE>
<H2>NAME</H2><PRE>
     <B>bcmp</B> - compare byte string


</PRE>
<H2>SYNOPSIS</H2><PRE>
     <B>#include</B> <B>&lt;string.h&gt;</B>

     <I>int</I>
     <B>bcmp</B>(<I>const</I> <I>void</I> <I>*b1</I>, <I>const</I> <I>void</I> <I>*b2</I>, <I>size</I><B>_</B><I>t</I> <I>len</I>)


</PRE>
<H2>DESCRIPTION</H2><PRE>
     The <B>bcmp</B>() function compares byte string <I>b1</I> against byte string <I>b2</I>, re-
     turning zero if they are identical, non-zero otherwise.  Both strings are
     assumed to be <I>len</I> bytes long.  Zero-length strings are always identical.

     The strings may overlap.


</PRE>
<H2>SEE ALSO</H2><PRE>
     <B><A HREF="bcmp.html">bcmp(3)</A></B>,  <B><A HREF="memcmp.html">memcmp(3)</A></B>,  <B><A HREF="strcasecmp.html">strcasecmp(3)</A></B>,  <B><A HREF="strcmp.html">strcmp(3)</A></B>,  <B><A HREF="strcoll.html">strcoll(3)</A></B>,  <B><A HREF="strxfrm.html">strxfrm(3)</A></B>


</PRE>
<H2>HISTORY</H2><PRE>
     A <B>bcmp</B>() function first appeared in 4.2BSD.

4.2 Berkeley Distribution	 June 4, 1993				     1
</PRE>
<HR>
<ADDRESS>
Man(1) output converted with
<a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
</ADDRESS>
</BODY>
</HTML>
